<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SetSponsor.ascx.cs" Inherits="Controls_Event_SetSponsor" %>
<link rel="STYLESHEET" type="text/css" href="Styles/rich_calendar.css"></link>
<script type="text/javascript" src="Javascripts/rich_calendar/rich_calendar.js"></script>
<script type="text/javascript" src="Javascripts/rich_calendar/rc_lang_en.js"></script>
<script type="text/javascript" src="Javascripts/domready/domready.js"></script>
<div id="divJavascript" runat="server"></div>
<table class="general">
    <tr>
        <td style="width: 22%; vertical-align: top; border-right: solid 1px grey;">
            <table cellpadding="0" cellspacing="0">
                <tr><td><asp:Label ID="lblEventStart" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 5px;"><asp:Label ID="valEventStart" runat="server"></asp:Label><br />&nbsp;</td></tr>
                <tr><td><asp:Label ID="lblNomStart" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 5px;"><asp:Label ID="valNomStart" runat="server"></asp:Label><br />&nbsp;</td></tr>
                <tr><td><asp:Label ID="lblVoteStart" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 5px;"><asp:Label ID="valVoteStart" runat="server"></asp:Label><br />&nbsp;</td></tr>
                <tr><td><asp:Label ID="lblEventEnd" runat="server"></asp:Label></td></tr>
                    <tr><td style="padding-left: 5px;"><asp:Label ID="valEventEnd" runat="server"></asp:Label></td></tr>
            </table>
        </td>
        <td class="generaltd" align="center">
            <fieldset style="width: 75%;">
                <legend><img alt="Sponsor" src="Images/dj/sponsor.gif" style="width:20px;" />&nbsp;Sponcership:</legend>
                <table cellpadding="0" cellspacing="0" class="general">
                    <tr>
                        <td><asp:CheckBox ID="cbSponcership" CssClass="solid" runat="server" Text="Allow Sponcership" /></td>
                    </tr>
                    <tr>
                        <td class="pad10">
                            <table id="tabSponsorship" cellpadding="0" cellspacing="0" class="general">
                                <tr>
                                    <td style="width: 100%" class="pad10"><b>Start Date:</b></td>
                                    <td>
                                        <table class="general">
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtSponcerStData" CssClass="textbox textboxMan" Width="75px" runat="server" MaxLength="12"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvSponcerStData" runat="server" 
                                                        ControlToValidate="txtSponcerStData"
                                                        EnableClientScript="true"
                                                        Display="None"></asp:RequiredFieldValidator>
                                                    <asp:RangeValidator ID="rvSponcerStData" runat="server" 
                                                        ControlToValidate="txtSponcerStData"
                                                        Display="None"
                                                        Type="Date"></asp:RangeValidator>
                                                </td>
                                                <td><input id="btnShowCal" runat="server" type="button" style="background-image: url(Images/dj/cal.gif); width: 24px; height: 23px; background-color: Transparent; border: none 0px;" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 100%" class="pad10"><b>Minimum Amount</b></td>
                                    <td>
                                        <asp:TextBox ID="txtMinSponsor" CssClass="textbox" Width="35px" runat="server" MaxLength="5"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvMinSponsor" runat="server" 
                                            ControlToValidate="txtMinSponsor"
                                            EnableClientScript="true"
                                            Display="None"></asp:RequiredFieldValidator>
                                        <asp:RangeValidator ID="rvMinSponsor" runat="server" 
                                            ControlToValidate="txtMinSponsor"
                                            Display="None"
                                            Type="Integer"></asp:RangeValidator>
                                        <asp:DropDownList ID="ddlCurrency" CssClass="ddl" runat="server" Width="40px" Height="23px"></asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <br />&nbsp;
            </fieldset>
        </td>
    </tr>
</table>
<asp:ValidationSummary ID="vsContent" ShowMessageBox="true" ShowSummary="false" runat="server" />